import request from '@/utils/request'

export const saveOrUpdateSpace = data => {
  return request({
    method: 'POST',
    url: '/front/ad/space/saveOrUpdate',
    data
  })
}

export const getSpaceById = id => {
  return request({
    method: 'GET',
    url: `/front/ad/space/getSpaceById?id=${id}`
  })
}
